/**
 * User.java
 *
 * @author: ZhuJiahui
 * @date: 2018/12/21 20:41
 */
package com.zhujiahui.sbl.web.restful.domain;

/**
 * @description:
 * @author: ZhuJiahui
 * @version: 1.0
 */
public class User {

    private Long id;
    private String name;
    private Integer age;

    public User() {

    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(this.id).append(this.name).append(this.age);
        return sb.toString();
    }


    /**
     * 获取
     *
     * @return id
     */
    public Long getId() {
        return this.id;
    }

    /**
     * 设置
     *
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     *
     * @return name
     */
    public String getName() {
        return this.name;
    }

    /**
     * 设置
     *
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     *
     * @return age
     */
    public Integer getAge() {
        return this.age;
    }

    /**
     * 设置
     *
     * @param age
     */
    public void setAge(Integer age) {
        this.age = age;
    }
}
